package com.zxs.client;

import com.zxs.entity.User;
import com.zxs.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;


@FeignClient(value = "hzit-user",fallbackFactory = UserClientFactory.class)
public interface UserClient {


	@GetMapping("/user/list")
	R<List<User>> list();

	@GetMapping("/user/getPort")
	R getPort();
}
